package com.biz.service.basic;


import com.biz.service.base.BaseServiceImpl;
import com.framework.dao.mdao.DaoSupport;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Created by liujiajia on 2017/1/6.
 */
@Service("shopService")
public class ShopServiceImpl extends BaseServiceImpl implements ShopServiceI {

    @Resource(name = "daoSupport")
    private DaoSupport dao;

    @Override
    public List<Map<String, String>> loadShopList(String id) throws Exception {
        Map<String,Object> map =new HashMap<>();
        map.put("brand_code",id);
        return (List<Map<String, String>>) dao.findForList("shopDao.loadShopList",map);
    }




}
